﻿namespace IterationLife.System.Models
{
    /// <summary>
    /// 登录结果
    /// </summary>
    public class SignInResult
    {
        /// <summary>
        /// 是否验证通过
        /// </summary>
        public bool Succeeded { get; set; } = false;

        /// <summary>
        /// 是否被锁定
        /// </summary>
        public bool IsLockedOut { get; set; } = false;

        /// <summary>
        /// 是否不允许登录
        /// </summary>
        public bool IsNotAllowed { get; set; } = false;

        /// <summary>
        /// 身份认证Token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { get; set; }
    }
}
